<template>
    <div class="navbar">
      <div class="navbar-left">
        <slot name="navbar-left"></slot>
      </div>

      <div class="navbar-center">
        <slot name="navbar-center"></slot>
      </div>

      <div class="navbar-rigth">
        <slot name="navbar-right"></slot>
      </div>
    </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  created () {},
  mounted () {}
}
</script>
<style scoped>
/* @import ''; 引入css类 */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  display: flex;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #fff;
  box-shadow: 0 1px 1px rgba(100, 100, 100, 0.1)
}
.navbar-left {
  width: 18.75%;
}
.navbar-center {
  flex: 1;
}
.navbar-rigth {
  width: 18.75%;
}
</style>
